[IA64] Fix PCI front with CONFIG_NUMA
authorAlex Williamson <alex.williamson@hp.com>
Mon, 7 May 2007 14:32:26 +0000 (08:32 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 7 May 2007 14:32:26 +0000 (08:32 -0600)
We get a bad pointer dereference if we don't fill something in
here.  -1 will give us a global allocation, which is good enough
until we have better NUMA support.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
linux-2.6-xen-sparse/include/xen/pcifront.h

index 50d76fe8212d68b9641cfac74e9778c31139d785..39acea73e92b1c66a053216d6009acb3d3fcc081 100644 (file)
@@ -62,6 +62,7 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd, int domain,
        sd->segment = domain;
        sd->acpi_handle = NULL;
        sd->iommu = NULL;
+       sd->node = -1;
        sd->windows = 0;
        sd->window = NULL;
        sd->platform_data = pdev;